package com.act.service.api;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.act.domain.ContractManagement;
import com.act.dto.PagerDTO;
import com.act.vo.PagerVo;

public interface IContractManagementService {

	//删除
	void delete(int id);
	
	//添加
	void add(ContractManagement contractManagement);
	
	//修改 
	void update(ContractManagement contractManagement);
	
	//根据id查询一条
	ContractManagement getById(@Param("id")int id);
	
	//查询所有合同
	PagerVo<Map> getAll(@Param("pagerDTO")PagerDTO pagerDTO);

}
